all:
	rm *.pb.* People.o Result -rf
	protoc --cpp_out=./ People.proto 
	g++ -std=c++11 -c -oPeople.o -I/usr/local/protobuf/include/ -I./ -L /usr/local/protobuf/lib/ People.pb.cc -lprotobuf
	g++ -std=c++11 -oResult -I/usr/local/protobuf/include/ -I./ -L /usr/local/protobuf/lib/ people.cpp People.o -lprotobuf

clean:
	rm *.pb.* People.o Result -rf

